<template>
	<view class="gTitle">
		{{title}}
	</view>
</template>

<script>
	export default {
		name:"gTitle",
		props: {
			title: {
				type:String,
				default: '我是标题组件'
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.gTitle{
	font-size: 40px;
	font-weight: 700;
	line-height: 2em;
	border-bottom: 1rpx solid $uni-border-color;
}
</style>
